<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素阴影</title>
    <style>
        .box{
            margin: 100px 0 50px 100px;
            width: 200px;
            height: 200px;
            background-color: rgb(146, 231, 217);
            box-shadow: inset 5px 5px 4px 2px red,
             -1px -2px 4px 2px rgb(0, 255, 76)   ;
        }
        .t{
            font-size: 2em;
            font-weight: bold;
            text-shadow: 2px 2px 4px red inset;
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
    
    <span class="t">文字阴影</span>
</body>
</html>